*{
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
}
.nav{
	width: 100%;
	height: 70px;
	position: relative;
	top: 0;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	background-color: rgb(0, 0, 0);
}
.nav ul{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	right: 5%;
}
.nav ul .nav-box{
	position: absolute;
	bottom: 0;
	left: 0;
	width: calc((100% / 4)*1);
	height: 10px;
	border-radius: 2px;
	transition: .5s;
}
.nav ul li{
	width: 100%;
	text-align: center;
}
.nav ul li a{
	color: rgb(255, 255, 255);
	font: 100 30px '优设标题黑';
	display: block;
	width: 100%;
	height: 100%;
	line-height: 70px;
}.nav ul li:nth-child(1):hover~.nav-box{
	left: calc(100% / 4 *0);
	background-color: rgb(77, 59, 218);
}
.nav ul li:nth-child(2):hover~.nav-box{
	left: calc(100% / 4 *1);
	background-color: red;
}
.nav ul li:nth-child(3):hover~.nav-box{
	left: calc(100% / 4 *2);
	background-color: #ee8930;
}
.nav ul li:nth-child(4):hover~.nav-box{
	left: calc(100% / 4 *3);
	background-color: #17cfe8;
}
#title1{
	height: 130px;
	margin: 40px 400px;
	text-align: center;
	font-size: 40px;
	line-height: 130px;
	font-style: italic;
	border: 2px solid black;
	border-radius: 50px;
	background-color: rgba(255, 99, 71, 0.6);
}
#hobby-pic img{
	border-radius: 50%;
	transition: all 2s
}
#hobby-pic {
	text-align: center;
	overflow: hidden;
}
.hobby-text{
	margin-left: 300px;
	margin-right: 300px;
}
.hobby-text h1{
	text-align: center;
	color: white;
}
.hobby-text p{
	font-size: 25px;
	line-height: 35px;
	text-indent: 2em;
	color: white;
	text-align: center;
	overflow: visible;
}
#title2{
	height: 130px;
	margin: 40px 400px;
	text-align: center;
	font-size: 40px;
	line-height: 130px;
	font-style: italic;
	border: 2px solid black;
	border-radius: 50px;
	background-color: rgba(250, 120, 5, 0.6);
}
a{
	text-decoration: none;
	color: rgb(241, 23, 172);
}
a:visited{
	color: rgb(241, 23, 172);
}
.swiper {
    width: 720px;
    height: 400px;
}  
#hobby-pic img:hover{
	transform: scale(1.5);
	box-shadow: 0 0 10px #000;
}
